package com.example.webgobang.service;

import com.example.webgobang.model.domin.User;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;

@Service
public interface UserService {
    User userRegister(String username, String password, String checkPassword, HttpServletRequest request);
    User userLogin(String username, String password, HttpServletRequest request);
    User getUserById(Integer userId);
}
